package com.bawei.module_home.ui

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.bawei.library_mvi.ui.BaseFragment
import com.bawei.module_home.R
import com.bawei.module_home.databinding.HomeFragmentHomeDetailDescriptionBinding
import com.bawei.module_home.model.entity.SimpleVideoEntity
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions

class HomeDetailDescriptionFragment : BaseFragment<HomeFragmentHomeDetailDescriptionBinding>() {
   private lateinit var data:SimpleVideoEntity
    override fun getLayout(): Int {
        return R.layout.home_fragment_home_detail_description
    }

    override fun initView() {
        super.initView()
        data = arguments?.getParcelable<SimpleVideoEntity>("data") as SimpleVideoEntity
        viewDataBinding.data = data

    //    parentFragmentManager.beginTransaction().add(R.id.fl_home_detail_Recommend,RecommendVideosFragment()).commitAllowingStateLoss()

    }


}